{template "content","header"}
<div class="l-articles">
    {template "content","left"}
        <div class="l-right">
            <div class="partials--page-title">
                <div class="title">
                    <span class="zh">{$catname}</span>
                </div>
            </div>

            {pc:content action="lists" catid="$catid" siteid="$siteid" order="id DESC" page="$page" num="5" return="newsArr"}
            {if $newsArr}
            <ul class="articles">
            {loop  $newsArr $news}
                <li class="item">
                    <a class="title" href="{$news['url']}" target="_blank">{$news['title']}</a>
                    <span class="date">{date("Y-m-d",$news['inputtime'])}</span>
                    <p class="intro">{$news['description']}</p>
                </li>
            {/loop}
            </ul>
            {else}
                <div class="partials--message-nodata">没有找到相关内容&gt;_&lt;</div>
            {/if}
            <ul class="partials--pager">{$pages}
            <!-- <li class="item is-active"><a class="page" href="/articles/category-id/2/page/1" title="1">1</a></li><li class="item "><a class="page" href="/articles/category-id/2/page/2" title="2">2</a></li><li class="item next"><a class="page" href="/articles/category-id/2/page/2">下一页</a></li> -->
            </ul>
        </div>
    </div>
</div>
{template "content","footer"}